<script src="__TMPL__/public/assets/simpleboot3/bootstrap/js/bootstrap.min.js"></script>
<script src="__STATIC__/js/frontend.js"></script>
<script>
    Wind.use("layerMobile",function(){});
    Wind.css("layerMobile");

    //检查电话号码是否有效
    function teleRegExp(data){
        //检查电话号码
        if (!(/^((\d{3}-\d{8}|\d{4}-\d{7,8})|(1[3|5|7|8][0-9]{9}))$/.test(data))) {
            return false;
        }
        return true;
    }
    //检查邮箱是否有效
    function emailRegExp(data){
        //检查邮箱
        if (!(/^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/.test(data))) {
            return false;
        }
        return true;
    }
</script>